package com.jeesite.modules.task.deploy.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import lombok.Data;

import java.util.List;

@Table(name = "dc_sup_task_info_refine", alias = "a", label = "任务部署信息表-记录细化分解信息", columns = {
        @Column(name = "id", attrName = "id", label = "主键", isPK = true),
        @Column(name = "task_id", attrName = "taskId", label = "任务id"),
        @Column(name = "task_leader_org", attrName = "taskLeaderOrg", label = "牵头单位（单个）"),
        @Column(name = "task_leader_org_name", attrName = "taskLeaderOrgName", label = "牵头单位名称（单个）"),
        @Column(name = "feedback_way", attrName = "feedbackWay", label = "反馈方式（1固定时间、2按周、3按月、4按季度）"),
        @Column(name = "feedback_rate", attrName = "feedbackRate", label = "反馈频次（每周几、每月几号、每季度下一个月的几号）"),
        @Column(name = "audit_status", attrName = "auditStatus", label = "审核状态（默认为空，表示未分解，0未审核，1审核通过，2审核驳回）"),
        @Column(name = "transfer_code", attrName = "transferCode", label = ""),
        @Column(name = "transfer_name", attrName = "transferName", label = ""),
})
@Data
public class DcSupTaskInfoRefine extends DataEntity<DcSupTaskInfoRefine> {
    private static final long serialVersionUID = 1L;
    /**
     * 任务id
     */
    private String taskId;
    /**
     * 牵头单位（单个）
     */
    private String taskLeaderOrg;
    /**
     * 牵头单位名称（单个）
     */
    private String taskLeaderOrgName;
    /**
     * 反馈方式（1固定时间、2按周、3按月、4按季度）
     */
    private String feedbackWay;
    /**
     * 反馈频次（每周几、每月几号、每季度下一个月的几号）
     */
    private String feedbackRate;
    /**
     * 审核状态（默认为空，表示未分解，0未审核，1审核通过，2审核驳回）
     */
    private String auditStatus;

    private String auditOption;
    private String transferCode;
    private String TransferName;
    private String taskTitle;
    private String taskContent;
    private String messageNumber;

    /**
     * 任务基础信息
     */
    private DcSupTaskInfo dcSupTaskInfo;

    /**
     * 反馈时间
     */
    private List<DcSupTaskInfoAdd> dcSupTaskInfoAddList;

    public DcSupTaskInfoRefine() {
        this(null);
    }

    public DcSupTaskInfoRefine(String id) {
        super(id);
    }
}

